import {RouterConfig} from "@angular/router";
import {UserListComponent} from "./user-list.component";
import {UserEditComponent} from "./user-edit.component";
export const userRoutes: RouterConfig = [
    {path: '', pathMatch: 'full', redirectTo: '/users'},
    {path: 'users', component: UserListComponent},
    {path: 'user/:id', component: UserEditComponent}
]